//
//  FCMJRefreshHeader.m
//  FundChain
//
//  Created by 肖浩然的mac on 2018/4/3.
//  Copyright © 2018年 RUIXIN. All rights reserved.
//

#import "FCMJRefreshHeader.h"

#define KColorBgGray [UIColor colorWithRed:235/255.0f green:235/255.0f blue:235/255.0f alpha:1.0f]
#define MAIN_Color_LightGray RGB(230, 230, 230)
@implementation FCMJRefreshHeader

#pragma mark - 重写方法
#pragma mark 在这里做一些初始化配置（比如添加子控件）
- (void)prepare
{
    [super prepare];
    
    //    NSString *jsonPath = [[NSBundle mainBundle] pathForResource:@"RefrashTextJSON" ofType:@"plist"];
    //    self.jsonObject = [[NSArray alloc] initWithContentsOfFile:jsonPath];
    self.stateLabel.textColor = [UIColor grayColor];
    [self setTitle:Localized(@"下拉刷新") forState:MJRefreshStateIdle];
    [self setTitle:Localized(@"释放立即刷新") forState:MJRefreshStatePulling];
    [self setTitle:Localized(@"正在加载...") forState:MJRefreshStateRefreshing];
//        [self setTitle:nil forState:MJRefreshStateNoMoreData];
    //根据拖拽的情况自动切换透明度
    self.automaticallyChangeAlpha = YES;
    
    //隐藏时间
    self.lastUpdatedTimeLabel.hidden = YES;
    
}



@end
